package day11;

/**
 * @author oldliu
 * @since 1.0
 */
public class Book {
    private String name,publish,desc;
    private double price;
    private int no,diff,coursetime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPublish() {
        return publish;
    }

    public void setPublish(String publish) {
        this.publish = publish;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        this.no = no;
    }

    public int getDiff() {
        return diff;
    }

    public void setDiff(int diff) {
        this.diff = diff;
    }

    public int getCoursetime() {
        return coursetime;
    }

    public void setCoursetime(int coursetime) {
        this.coursetime = coursetime;
    }

    @Override
    public String toString() {
        return "Book{" +
                "name='" + name + '\'' +
                ", publish='" + publish + '\'' +
                ", desc='" + desc + '\'' +
                ", price=" + price +
                ", no=" + no +
                ", diff=" + diff +
                ", coursetime=" + coursetime +
                '}';
    }
}
